package com.homedo.microservice.open.service.gateway.alert.gateway.bean.po;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.homedo.common.dao.bean.po.base.BasePo;

/**
 * 告警通知表
 * @author 作者 jgshun
 * @date   创建时间 2018年10月16日 16时44分30秒
 */
@Table(name = "e_alert_notice")
public class AlertNotice extends BasePo {
		/**
		 * 属性查询列表
		 */
		public static final String FIELD_ID = "id";
		public static final String FIELD_ALERTINGID = "alertingId";
		public static final String FIELD_ALERTUSERID = "alertUserId";
		public static final String FIELD_NOTICETOTAL = "noticeTotal";
		public static final String FIELD_STATUS = "status";
		public static final String FIELD_NOTICECOUNT = "noticeCount";
		public static final String FIELD_CREATETIME = "createTime";
		public static final String FIELD_UPDATETIME = "updateTime";
		/**
		 * 列名查询列表
		 */
		public static final String COLUMN_ID = "id";
		public static final String COLUMN_ALERTING_ID = "alerting_id";
		public static final String COLUMN_ALERT_USER_ID = "alert_user_id";
		public static final String COLUMN_NOTICE_TOTAL = "notice_total";
		public static final String COLUMN_STATUS = "status";
		public static final String COLUMN_NOTICE_COUNT = "notice_count";
		public static final String COLUMN_CREATE_TIME = "create_time";
		public static final String COLUMN_UPDATE_TIME = "update_time";


			@Id

            @GeneratedValue(generator = "JDBC")

            @Column(name = "id")
		private Integer id;


            @Column(name = "alerting_id")
		private Integer alertingId;


            @Column(name = "alert_user_id")
		private Integer alertUserId;


            @Column(name = "notice_total")
		private Integer noticeTotal;


            @Column(name = "status")
		private Integer status;


            @Column(name = "notice_count")
		private Integer noticeCount;


            @Column(name = "create_time")
		private Date createTime;


            @Column(name = "update_time")
		private Date updateTime;

		/**
		 * 获取 自增主键
		 *
		 * @return id - 自增主键
		 */
		public Integer getId() {
			return id;
		}

		/**
		 * 设置 自增主键
		 *
		 * @param id - 自增主键
		 */
		public void  setId(Integer id) {
			this.id = id;
		}
		/**
		 * 获取 告警中的ID
		 *
		 * @return alertingId - 告警中的ID
		 */
		public Integer getAlertingId() {
			return alertingId;
		}

		/**
		 * 设置 告警中的ID
		 *
		 * @param alertingId - 告警中的ID
		 */
		public void  setAlertingId(Integer alertingId) {
			this.alertingId = alertingId;
		}
		/**
		 * 获取 告警通知人
		 *
		 * @return alertUserId - 告警通知人
		 */
		public Integer getAlertUserId() {
			return alertUserId;
		}

		/**
		 * 设置 告警通知人
		 *
		 * @param alertUserId - 告警通知人
		 */
		public void  setAlertUserId(Integer alertUserId) {
			this.alertUserId = alertUserId;
		}
		/**
		 * 获取 通知限制总次数
		 *
		 * @return noticeTotal - 通知限制总次数
		 */
		public Integer getNoticeTotal() {
			return noticeTotal;
		}

		/**
		 * 设置 通知限制总次数
		 *
		 * @param noticeTotal - 通知限制总次数
		 */
		public void  setNoticeTotal(Integer noticeTotal) {
			this.noticeTotal = noticeTotal;
		}
		/**
		 * 获取 是否可用，可用的发通知
		 *
		 * @return status - 是否可用，可用的发通知
		 */
		public Integer getStatus() {
			return status;
		}

		/**
		 * 设置 是否可用，可用的发通知
		 *
		 * @param status - 是否可用，可用的发通知
		 */
		public void  setStatus(Integer status) {
			this.status = status;
		}
		/**
		 * 获取 已通知次数
		 *
		 * @return noticeCount - 已通知次数
		 */
		public Integer getNoticeCount() {
			return noticeCount;
		}

		/**
		 * 设置 已通知次数
		 *
		 * @param noticeCount - 已通知次数
		 */
		public void  setNoticeCount(Integer noticeCount) {
			this.noticeCount = noticeCount;
		}
		/**
		 * 获取 创建时间
		 *
		 * @return createTime - 创建时间
		 */
		public Date getCreateTime() {
			return createTime;
		}

		/**
		 * 设置 创建时间
		 *
		 * @param createTime - 创建时间
		 */
		public void  setCreateTime(Date createTime) {
			this.createTime = createTime;
		}
		/**
		 * 获取 更新时间
		 *
		 * @return updateTime - 更新时间
		 */
		public Date getUpdateTime() {
			return updateTime;
		}

		/**
		 * 设置 更新时间
		 *
		 * @param updateTime - 更新时间
		 */
		public void  setUpdateTime(Date updateTime) {
			this.updateTime = updateTime;
		}
}